package com.example.myhelloworld.server;

/**
 * 
 * @author Habbe
 *
 * Code directly from: 
 * http://code.google.com/intl/sv/appengine/docs/java/datastore/overview.html
 *
 */

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public final class DataStoreFactory {
    private static final PersistenceManagerFactory pmfInstance =
        JDOHelper.getPersistenceManagerFactory("transactions-optional");

    DataStoreFactory() {}

    public static PersistenceManagerFactory get() {
        return pmfInstance;
    }
}